import request from '@/utils/request'

export function getInfo(clientToken) {
  return request({
    url: ` /api/user-service/user/imageCode/:${clientToken}`,
    method: 'get'
  })
}

export function login(data) {
  return request({
    url: '/api/user-service/user/login',
    method: 'POST',
    data
  })
}
